package wang.aweb.childcar.service;

import com.github.pagehelper.PageInfo;
import wang.aweb.childcar.model.pojo.Order;
import wang.aweb.childcar.model.query.OrderParam;

import java.util.Date;

public interface OrderService {
    Integer getOrderDayCount();

    void doEnd(String orderNo);

    String doStart(String imei);

    Order findByOrderNo(String orderNo);

    void sendCmd(String orderNo, String cmd);

    PageInfo getList(Integer page, Integer limit, OrderParam orderParam);

    Integer getOrderCount();

    Integer getOrderMonthCount();

    Integer getAgentOrderCount(Integer agentId, Date starttime, Date endtime);

    Order findNoDoneByMemberId(Integer id);
}
